
const state = {
  name: 'Projects&Services&Hosts',
  active: null,
  pid: '',
  simulation: '',
  link: '',
  node: '',
  text: '',
  width: document.documentElement.clientWidth * 0.9,
  height: document.documentElement.clientHeight * 0.6
}

const mutations = {
  loadSvg (state, payload) {
  },
  closeProjectSvg (state) {
    this._vm.$data.$$state.listproject.svgDialog = false
  }
}

const actions = {
  loadSvg ({commit}, payload) {
    commit('loadSvg', payload)
  },
  closeProjectSvg ({commit}) {
    commit('closeProjectSvg')
  }
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
